<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .placeholder-custom::-webkit-input-placeholder {
      color: lightgreen;
      font-size: 12px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    }

    .placeholder-custom {
      /* 修改光标的颜色 */
      caret-color: lightsalmon;
    }
  </style>
</head>

<body>
  <input type="text" class="placeholder-custom" placeholder="please input tour name">
</body>

</html>